package com.monkey.im.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: yb
 * @date: 2025/4/19 0019 21:42
 */
@ConfigurationProperties(prefix = "monkey-im")
public class MonkeyProperties {
    /**
     * 是否开启集群模式
     */
    private boolean cluster_mode;


    private static class DBConfig{
        /**
         * 连接url
         */
        private String uri;
        /**
         * 用户名
         */
        private String username;
        /**
         * 密码
         */
        private String password;
    }

}
